﻿// Copyright © Microsoft Corporation.  All Rights Reserved.
// This code released under the terms of the 
// Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.) [INCLUDE APACHE 2.0 AS AN OPTION.]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace ppscd
{
    public class DataSources
    {
        public DataSources()
        {
            AnalysisServices = new AnalysisServices();
            ExcelServices = new ExcelServices();
            SQLServer = new SQLServer();
            SharePointList = new SharePointList();
            ConnectionString = new List<Replacement>();
            ServerName = new List<Replacement>();
        }

        public AnalysisServices AnalysisServices
        {
            get;
            set;
        }

        [XmlElement]
        public ExcelServices ExcelServices
        {
            get;
            set;
        }

        [XmlElement]
        public SQLServer SQLServer
        {
            get;
            set;
        }

        [XmlElement]
        public SharePointList SharePointList
        {
            get;
            set;
        }

        [XmlElement]
        public List<Replacement> ConnectionString
        {
            get;
            set;
        }

        [XmlElement]
        public List<Replacement> ServerName
        {
            get;
            set;
        }
    }
}
